package com.ljw.ebay.api.find;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.ebay.services.finding.SearchItem;

public class LogTools {

	static final Log logger = LogFactory.getLog(LogTools.class);

	public static void logFindItem(SearchItem item) {

		logger.info("城市  " + item.getCountry());
		logger.info("价格 " + item.getTitle());
		if (item.getStoreInfo() != null) {
			logger.info("店面详细信息 " + item.getStoreInfo().getDelimiter() + "用户名 "
					+ item.getSellerInfo().getSellerUserName() + " Feedback　RatingStar "
					+ item.getSellerInfo().getFeedbackRatingStar() + " 评价分数  "
					+ item.getSellerInfo().getFeedbackScore() + " 好评率  "
					+ item.getSellerInfo().getPositiveFeedbackPercent());
		}

	}
}
